package com.hzd.entity;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.math.BigDecimal;

/**
 * 奖励累积记录
 *
 * @author kent
 * @date 15/10/29.
 */
@Entity
public class BondIncreaseLog extends BaseEntity {

    @Id
    private String id;

    private BigDecimal step;

    private String openid;

    private String fromOpenid;

    public String getId() {
        return id;
    }

    public BondIncreaseLog setId(String id) {
        this.id = id;
        return this;
    }

    public BigDecimal getStep() {
        return step;
    }

    public BondIncreaseLog setStep(BigDecimal step) {
        this.step = step;
        return this;
    }

    public String getOpenid() {
        return openid;
    }

    public BondIncreaseLog setOpenid(String openid) {
        this.openid = openid;
        return this;
    }

    public String getFromOpenid() {
        return fromOpenid;
    }

    public BondIncreaseLog setFromOpenid(String fromOpenid) {
        this.fromOpenid = fromOpenid;
        return this;
    }
}
